home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
grafik
/
raystorm
/
arexx
/
bump.ray
< prev
next >
Wrap
Text File
|
1995-08-06
|
997b
|
52 lines
/***************
* NAME: bump.ray
* VERSION: 1.0 06.08.1995
* DESCRIPTION: Test of bump texture
* AUTHORS: Andreas Heumann
* BUGS: none
* TO DO: none
* HISTORY: DATE NAME COMMENT
* 06.08.95 ah first release
***************/
OPTIONS RESULTS
IF ~SHOW('P','RAYSTORM') THEN DO /* if not allready running, start RayStorm */
ADDRESS COMMAND 'run >NIL: <NIL: /raystorm'
ADDRESS COMMAND WaitForPort RAYSTORM
END
ADDRESS RAYSTORM
TEXTUREPATH '/textures'
SETSCREEN 160 128
SETCAMERA '5 10 -25 0 0 0 0 1 0 25 20'
SETWORLD 0 0 0 20 20 20
POINTLIGHT '20 20 -40 255 255 255 SHADOW'
NEWSURFACE MAP
DIFFUSE 200 100 20
SPECULAR 0 0 0
IMTEXTURE 'bump.itx 0 0 0 0 0 0 .2 .2 .2 1 1 1'
SPHERE 'MAP 0 0 0 2'
NEWSURFACE MAP1
DIFFUSE 20 100 200
SPECULAR 0 0 0
REFLECT 100 100 100
IMTEXTURE 'bump.itx 0 0 0 0 0 0 1 1 1 1 1 1'
PLANE 'MAP1 0 -2 0 0 1 0'
ANTIALIAS 2
STARTRENDER QUICK
SAVEPIC 'bump.iff'
CLEANUP
exit 0